package com.thenie.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.thenie.chat.pojo.AddRequest;
import com.thenie.chat.pojo.User;
import com.thenie.chat.vo.FriendRequestVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author thenie
 * @since 2022-06-03
 */
@Repository
public interface AddRequestMapper extends BaseMapper<AddRequest> {

    /**
     * 查找关于用户的好友添加请求记录
     * @return
     */
    public List<FriendRequestVo> queryFriendRequestList(Long userId);

}
